Problem Note 46612: Incorrect summed value for a data set variable might appear in PROC REPORT Listing output
An incorrect summed value for a data set variable might appear in PROC REPORT output in the Listing destination. This is most likely to occur when a data set variable is used as a counter variable (var + 1) within a PROC REPORT COMPUTE block. The variable should only increment on rows produced by the report. However, it is possible that a page break incorrectly increments the counter variable.
This problem occurs when the report goes onto the next page by one or two lines and there is a unique combination of observations, titles, page size, split headers, and LINE statements.
This problem does not affect other ODS destinations such as RTF, PDF, and HTML.
Depending on the structure of the data and the role of the counter variable, one of the following might circumvent the problem:
- Increase the PAGESIZE system option. For example:
- Use the N statistic in place of the counter variable.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9 TS M0 | 9.3 TS1M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9 TS M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9 TS M0 | 9.3 TS1M2 |
Microsoft Windows 2000 Advanced Server | 9 TS M0 | |
Microsoft Windows 2000 Datacenter Server | 9 TS M0 | |
Microsoft Windows 2000 Server | 9 TS M0 | |
Microsoft Windows 2000 Professional | 9 TS M0 | |
Microsoft Windows NT Workstation | 9 TS M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | 9.3 TS1M2 |
Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | 9.3 TS1M2 |
Microsoft Windows XP Professional | 9 TS M0 | 9.3 TS1M2 |
64-bit Enabled AIX | 9 TS M0 | 9.3 TS1M2 |
64-bit Enabled HP-UX | 9 TS M0 | 9.3 TS1M2 |
64-bit Enabled Solaris | 9 TS M0 | 9.3 TS1M2 |
HP-UX IPF | 9 TS M0 | 9.3 TS1M2 |
Linux | 9 TS M0 | 9.3 TS1M2 |
OpenVMS Alpha | 9 TS M0 | 9.3 TS1M2 |
Tru64 UNIX | 9 TS M0 | 9.3 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
An incorrect summed value for a data set variable might appear in PROC REPORT Listing output.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2019-09-19 14:14:47 |
Date Created: | 2012-05-18 11:15:10 |